package com.ryskoo.catering.vendortemplatereldetail.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "cater_vendor_template_rel_detail")
public class VendorTemplateRelDetailPO extends BasicPO {

    /** 商户模板关联主表uuid */
    @Column(name = "rel_uuid",columnDefinition = "char",length = 32)
    private String relUuid;

    /** 属性值uuid **/
    @Column(name = "value_uuid",columnDefinition = "char",length = 32)
    private String valueUuid;

    /** 属性值 */
    @Column(name = "value",columnDefinition = "varchar",length = 20)
    private String value;

    /** 是否启用 1-启用；0-不启用 */
    @Column(name = "status")
    private boolean status;

    /** 排序 */
    @Column(name = "position",columnDefinition = "int")
    private int position;

    public String getRelUuid() {
        return relUuid;
    }

    public void setRelUuid(String relUuid) {
        this.relUuid = relUuid;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getValueUuid() {
        return valueUuid;
    }

    public void setValueUuid(String valueUuid) {
        this.valueUuid = valueUuid;
    }
}
